<?php
namespace app\modules\models\test;


use app\modules\models\api\TestApi;
use app\modules\models\BaseModel;
use app\helpers\ApiCode as helperApiCode;

/**
 * @desc 版本控制中心
 * @author yaojinjin1@wanda.cn
 * @createDate 2018/01/03
 */
class TestModel extends BaseModel{

    protected $fields = ['clientType'];

    public function testlist()
    {
        $accept_data = self::acceptParam('get',$this->fields);
        if(helperApiCode::API_OK != $accept_data['status']){
            return $accept_data;
        }
        $data = $accept_data['data'];
        $result= TestApi::testabc($data);
        return $result;
    }



}